


function newTime(){
    let timeInput = document.getElementById("new")
    let time = new Date().toLocaleDateString()
    timeInput.value = ""+time+""
    console.log(time)
}

var inputFl=document.getElementById("inputFl")

function pc(){
    inputFl.value = "PC单机"
    blue(".pc",".dlyx,.vryx,.mn,.jsby")
}
function dl(){
    inputFl.value = "独立游戏"
    blue(".dlyx",".pc,.vryx,.mn,.jsby")
}
function vr(){
    inputFl.value = "VR游戏"
    blue(".vryx",".dlyx,.pc,.mn,.jsby")
}
function mn(){
    inputFl.value = "模拟器游戏"
    blue(".mn",".dlyx,.vryx,.pc,.jsby")
}
function art(){
    inputFl.value = "角色扮演"
    blue(".jsby",".dlyx,.vryx,.mn,.pc")
}
function blue(domOne,domTwo){
    $(domOne).css("background","#55aaff")
    $(domOne).css("color","#fff")
    $(domTwo).css("background","#f0f0f0")
    $(domTwo).css("color","#595959")
}